import { request } from "umi";
import {ImyProject,IQuery1,IQuery2} from "@/utils/myProject";


export let newproject=(params:ImyProject)=>{
    return request(`/sypt/project/list?`,{params})
}

// 第一层表格数据额
export  let newProgress=(params:IQuery1)=>{
    console.log(params,"paraams...");
    return request(`/sxpt/progress/selectClassPlanByStu?`,{params})
}
export let newTwoTable=()=>{
    return request("/sxpt/progress/selectClassPlanByStuInfo/12e24e75071b4315974416c6a3f81080")
}

// 收藏项目
export let collect=(params:IQuery2)=>{
        return request(`/sypt/project/favor/list?`,{params})
}